﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>货品管理</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/plugins/chosen/chosen.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <!-- Sweet Alert -->
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">
    <link href="css/add-style.css" rel="stylesheet">

</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>合同管理</h5>
                        <div class="pull-right" style="margin:-7px 5px 0 0">
                            <a class="collapse-link" id="screen-btn">
                                <i class="fa fa-chevron-up" style="display: none;">&nbsp;筛选条件</i>
                                <i class="fa fa-chevron-down">&nbsp;筛选条件</i>
                            </a>
                            <a data-toggle="modal" href="house_contracts.html#modal-form" class="btn btn-primary btn-sm"><i class="fa fa-plus"></i>&nbsp; 增加 </a>
                        </div>
                    </div>
                    <div class="ibox-content" id="screen-box">
                        <div class="row">
                            <form method="get" class="form-horizontal">
                                <div class="form-group row">
                                    <label class="col-sm-1 control-label">楼盘名称</label>
                                    <div class="col-sm-11">
                                        <div class="rule-multi-radio">
                                            <span id="cblActionType">
                                                <input id="cblActionType1" type="radio" name="cblActionType" checked="checked" value="Show" />
                                                <label for="cblActionType2">富力家园一期</label>
                                                <input id="cblActionType3" type="radio" name="cblActionType" value="View" />
                                                <label for="cblActionType4">富力家园二期</label>
                                                <input id="cblActionType5" type="radio" name="cblActionType" value="Show" />
                                                <label for="cblActionType6">富力家园三期</label>
                                            </span>
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group row">
                                    <label class="col-sm-1 control-label">楼栋名称</label>
                                    <div class="col-sm-5">
                                        <div class="rule-multi-radio">
                                            <div class="rule-multi-radio">
                                                <span id="rblbuild1">
                                                    <input id="rblStatus_0" type="radio" name="rblbuild1" value="0" checked="checked" />
                                                    <label for="rblStatus_0">A座</label>
                                                    <input id="rblStatus_1" type="radio" name="rblbuild1" value="1" />
                                                    <label for="rblStatus_1">B座</label>
                                                    <input id="rblStatus_2" type="radio" name="rblbuild1" value="2" />
                                                    <label for="rblStatus_2">中心</label>
                                                </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group row">
                                    <label class="col-sm-1 control-label">房间编号</label>
                                    <div class="col-sm-11">
                                        <div class="rule-multi-radio">
                                            <span id="cblhouse">
                                                <input id="cblActionType_0" type="radio" name="cblhouse" checked="checked" value="Show" />
                                                <label for="cblActionType_0">101</label>
                                                <input id="cblActionType_1" type="radio" name="cblhouse" value="View" />
                                                <label for="cblActionType_1">102</label>
                                                <input id="cblActionType_0" type="radio" name="cblhouse" value="Show" />
                                                <label for="cblActionType_0">103</label>
                                                <input id="cblActionType_0" type="radio" name="cblhouse" value="Show" />
                                                <label for="cblActionType_0">105</label>
                                                <input id="cblActionType_0" type="radio" name="cblhouse" value="Show" />
                                                <label for="cblActionType_0">106</label>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group row">
                                    <div class="col-sm-offset-4 col-sm-8" style="padding-right:25px;">
                                        <div class="input-group form-group-sm">
                                            <div class="input-group-btn">
                                                <select data-placeholder="选择查询条件" class="form-control input-sm chosen-select" tabindex="2" style="width:120px;">
                                                    <option value="110000" hassubinfo="true" selected="selected">公司名称</option>
                                                    <option value="120000" hassubinfo="true">联系人</option>
                                                </select>
                                            </div>
                                            <input class="input form-control" type="text" placeholder="请输入公司名称\联系人（支持模糊查询）">
                                            <span class="input-group-btn">
                                                <button type="button" class="btn btn-success btn-sm"><i class="fa fa-search"></i>&nbsp;搜索</button>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <table class="table table-striped table-hover">
                            <thead>
                                <tr>
                                    <th>合同编号</th>
                                    <th>公司名称</th>
                                    <th>开始日期</th>
                                    <th>结束日期</th>
                                    <th>租金(元/月)</th>
                                    <th>单价</th>
                                    <th>面积(㎡)</th>
                                    <th>联系人</th>
                                    <th>电话</th>
                                    <th>备注</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>B201612001</td>
                                    <td>BAT联合科技有限公司</td>
                                    <td>2016-12-08</td>
                                    <td>2017-12-07</td>
                                    <td>10000</td>
                                    <td>100</td>
                                    <td>100</td>
                                    <td>李四</td>
                                    <td>15943261548</td>
                                    <td></td>
                                    <td>
                                        <div class="btn-group">
                                            <a data-toggle="modal" href="house_contracts.html#modal-edit" class="text-warning">修改</a>&nbsp;&nbsp;
                                            <a href="javascript:;" class="text-danger demo4">删除</a>
                                        </div>

                                    </td>
                                </tr>

                            </tbody>

                        </table>
                        <div class="text-right">
                            <ul class="pagination">
                                <li><a href="#">&laquo;</a></li>
                                <li><a href="#">1</a></li>
                                <li><a href="#">2</a></li>
                                <li><a href="#">3</a></li>
                                <li><a href="#">4</a></li>
                                <li><a href="#">5</a></li>
                                <li><a href="#">&raquo;</a></li>
                                <li><a href="#">页数：1/10</a></li>
                                <li><a href="#">总记录数：1000</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div id="modal-form" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h5 class="modal-title">新增合同记录</h5>
                </div>
                <div class="modal-body">
                    <table class="table table-hover table-border0 form-group-sm">
                        <tbody>
                            <tr>
                                <td class="text-right">
                                    <span class="text-danger">* </span>选择楼盘：
                                </td>
                                <td colspan="3">
                                    <div class="rule-multi-radio">
                                        <span id="rblbuilds">
                                            <input id="rblStatus_0" type="radio" name="rblbuilds" value="0" checked="checked" />
                                            <label for="rblStatus_0">富力双子座A座</label>
                                            <input id="rblStatus_1" type="radio" name="rblbuilds" value="1" />
                                            <label for="rblStatus_1">富力双子座B座</label>
                                            <input id="rblStatus_1" type="radio" name="rblbuilds" value="2" />
                                            <label for="rblStatus_1">富力中心</label>
                                        </span>
                                    </div>
                                </td>

                            </tr>
                            <tr>
                                <td class="text-right">
                                    <span class="text-danger">* </span>选择楼栋：
                                </td>
                                <td colspan="3">
                                    <div class="rule-multi-radio">
                                        <span id="rblbuild1">
                                            <input id="rblStatus_0" type="radio" name="rblbuild1" value="0" checked="checked" />
                                            <label for="rblStatus_0">A座</label>
                                            <input id="rblStatus_1" type="radio" name="rblbuild1" value="1" />
                                            <label for="rblStatus_1">B座</label>
                                            <input id="rblStatus_2" type="radio" name="rblbuild1" value="2" />
                                            <label for="rblStatus_2">中心</label>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right">
                                    <span class="text-danger">* </span>选择楼层：
                                </td>
                                <td colspan="3">
                                    <div class="rule-multi-radio">
                                        <span id="cblFloor">
                                            <input id="cblActionType_0" type="radio" name="cblFloor" checked="checked" value="Show" />
                                            <label for="cblActionType_0">1层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">2层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">3层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">4层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">5层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">6层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">7层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">8层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">9层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">10层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">11层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">12层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">13层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">14层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">15层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">16层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">17层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">18层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">19层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">20层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">21层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">22层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">23层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">24层</label>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right">
                                    <span class="text-danger">* </span>选择房间：
                                </td>
                                <td>
                                    <div class="rule-multi-radio">
                                        <span id="cblhouse">
                                            <input id="cblActionType_0" type="radio" name="cblhouse" checked="checked" value="Show" />
                                            <label for="cblActionType_0">101</label>
                                            <input id="cblActionType_1" type="radio" name="cblhouse" value="View" />
                                            <label for="cblActionType_1">102</label>
                                            <input id="cblActionType_0" type="radio" name="cblhouse" value="Show" />
                                            <label for="cblActionType_0">103</label>
                                            <input id="cblActionType_0" type="radio" name="cblhouse" value="Show" />
                                            <label for="cblActionType_0">105</label>
                                            <input id="cblActionType_0" type="radio" name="cblhouse" value="Show" />
                                            <label for="cblActionType_0">106</label>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right"><span class="text-danger">* </span>合同日期：</td>
                                <td colspan="3">
                                    <div class="input-group" id="datepicker">
                                        <input class="laydate-icon form-control layer-date" placeholder="YYYY-MM-DD" onclick="laydate({ istime: true, format: 'YYYY-MM-DD' })" />
                                        <span class="input-group-addon">到</span>
                                        <input class="laydate-icon form-control layer-date" placeholder="YYYY-MM-DD" onclick="laydate({ istime: true, format: 'YYYY-MM-DD' })" />
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right"><span class="text-danger">* </span>公司名称：</td>
                                <td>
                                    <input type="text" value="" class="form-control" />
                                </td>
                                <td class="text-right"><span class="text-danger">* </span>合同编号：</td>
                                <td>
                                    <input type="text" value="" class="form-control" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right"><span class="text-danger">* </span>合同月租：</td>
                                <td colspan="3">
                                    <div class="input-group input-group-sm">
                                        <input type="text" class="form-control" name="start" placeholder="单价" value="" />
                                        <span class="input-group-addon">×</span>
                                        <div class="input-daterange input-group input-group-sm" id="datepicker">
                                            <input type="text" class="form-control" name="start" placeholder="面积" value="" />
                                            <span class="input-group-addon">=</span>
                                            <input type="text" class="form-control" name="end" placeholder="金额" value="" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right"><span class="text-danger">* </span>联系人：</td>
                                <td>
                                    <input type="text" value="" class="form-control" />
                                </td>
                                <td class="text-right"><span class="text-danger">* </span>电话：</td>
                                <td>
                                    <input type="text" value="" class="form-control" />
                                </td>
                            </tr>

                            <tr>
                                <td class="text-right">备注：</td>
                                <td colspan="3">
                                    <input type="text" value="" class="form-control" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary demo2">保存</button>
                </div>
            </div>
        </div>
    </div>

    <div id="modal-edit" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h5 class="modal-title">修改合同记录</h5>
                </div>
                <div class="modal-body">
                    <table class="table table-hover table-border0 form-group-sm">
                        <tbody>
                            <tr>
                                <td class="text-right">
                                    <span class="text-danger">* </span>选择楼盘：
                                </td>
                                <td colspan="3">
                                    <div class="rule-multi-radio">
                                        <span id="rblbuilds">
                                            <input id="rblStatus_0" type="radio" name="rblbuilds" value="0" checked="checked" />
                                            <label for="rblStatus_0">富力双子座A座</label>
                                            <input id="rblStatus_1" type="radio" name="rblbuilds" value="1" />
                                            <label for="rblStatus_1">富力双子座B座</label>
                                            <input id="rblStatus_1" type="radio" name="rblbuilds" value="2" />
                                            <label for="rblStatus_1">富力中心</label>
                                        </span>
                                    </div>
                                </td>

                            </tr>
                            <tr>
                                <td class="text-right">
                                    <span class="text-danger">* </span>选择楼栋：
                                </td>
                                <td colspan="3">
                                    <div class="rule-multi-radio">
                                        <span id="rblbuild1">
                                            <input id="rblStatus_0" type="radio" name="rblbuild1" value="0" checked="checked" />
                                            <label for="rblStatus_0">A座</label>
                                            <input id="rblStatus_1" type="radio" name="rblbuild1" value="1" />
                                            <label for="rblStatus_1">B座</label>
                                            <input id="rblStatus_2" type="radio" name="rblbuild1" value="2" />
                                            <label for="rblStatus_2">中心</label>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right">
                                    <span class="text-danger">* </span>选择楼层：
                                </td>
                                <td colspan="3">
                                    <div class="rule-multi-radio">
                                        <span id="cblFloor">
                                            <input id="cblActionType_0" type="radio" name="cblFloor" checked="checked" value="Show" />
                                            <label for="cblActionType_0">1层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">2层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">3层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">4层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">5层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">6层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">7层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">8层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">9层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">10层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">11层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">12层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">13层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">14层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">15层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">16层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">17层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">18层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">19层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">20层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">21层</label>
                                            <input id="cblActionType_1" type="radio" name="cblFloor" value="View" />
                                            <label for="cblActionType_1">22层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">23层</label>
                                            <input id="cblActionType_0" type="radio" name="cblFloor" value="Show" />
                                            <label for="cblActionType_0">24层</label>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right">
                                    <span class="text-danger">* </span>选择房间：
                                </td>
                                <td>
                                    <div class="rule-multi-radio">
                                        <span id="cblhouse">
                                            <input id="cblActionType_0" type="radio" name="cblhouse" checked="checked" value="Show" />
                                            <label for="cblActionType_0">101</label>
                                            <input id="cblActionType_1" type="radio" name="cblhouse" value="View" />
                                            <label for="cblActionType_1">102</label>
                                            <input id="cblActionType_0" type="radio" name="cblhouse" value="Show" />
                                            <label for="cblActionType_0">103</label>
                                            <input id="cblActionType_0" type="radio" name="cblhouse" value="Show" />
                                            <label for="cblActionType_0">105</label>
                                            <input id="cblActionType_0" type="radio" name="cblhouse" value="Show" />
                                            <label for="cblActionType_0">106</label>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right"><span class="text-danger">* </span>合同日期：</td>
                                <td colspan="3">
                                    <div class="input-group" id="datepicker">
                                        <input class="laydate-icon form-control layer-date" value="2016-12-08" placeholder="YYYY-MM-DD" onclick="laydate({ istime: true, format: 'YYYY-MM-DD' })" />
                                        <span class="input-group-addon">到</span>
                                        <input class="laydate-icon form-control layer-date" value="2017-12-07" placeholder="YYYY-MM-DD" onclick="laydate({ istime: true, format: 'YYYY-MM-DD' })" />
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right"><span class="text-danger">* </span>公司名称：</td>
                                <td>
                                    <input type="text" value="BAT联合科技有限公司" class="form-control" />
                                </td>
                                <td class="text-right"><span class="text-danger">* </span>合同编号：</td>
                                <td>
                                    <input type="text" value="B201612001" class="form-control" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right"><span class="text-danger">* </span>合同月租：</td>
                                <td colspan="3">
                                    <div class="input-group input-group-sm">
                                        <input type="text" class="form-control" name="start" placeholder="单价" value="100" />
                                        <span class="input-group-addon">×</span>
                                        <div class="input-daterange input-group input-group-sm" id="datepicker">
                                            <input type="text" class="form-control" name="start" placeholder="面积" value="100" />
                                            <span class="input-group-addon">=</span>
                                            <input type="text" class="form-control" name="end" placeholder="金额" value="10000" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="text-right"><span class="text-danger">* </span>联系人：</td>
                                <td>
                                    <input type="text" value="李四" class="form-control" />
                                </td>
                                <td class="text-right"><span class="text-danger">* </span>电话：</td>
                                <td>
                                    <input type="text" value="15943261548" class="form-control" />
                                </td>
                            </tr>

                            <tr>
                                <td class="text-right">备注：</td>
                                <td colspan="3">
                                    <input type="text" value="" class="form-control" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary demo2">保存</button>
                </div>
            </div>
        </div>
    </div>

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>
    <script src="js/common.js"></script>

    <!-- jQuery Validation plugin javascript-->
    <script src="js/plugins/validate/jquery.validate.min.js"></script>
    <script src="js/plugins/validate/messages_zh.min.js"></script>


    <!-- layerDate plugin javascript -->
    <script src="js/plugins/layer/laydate/laydate.js"></script>
    <script>
        var start = {
            elem: "#start",
            format: "YYYY/MM/DD",
            min: laydate.now(),
            max: "2099-06-16",
            istime: false,
            istoday: false,
            choose: function (a) {
                end.min = a;
                end.start = a
            }
        };
        var end = {
            elem: "#end",
            format: "YYYY/MM/DD",
            min: laydate.now(),
            max: "2099-06-16",
            istime: false,
            istoday: false,
            choose: function (a) {
                start.max = a
            }
        };
        laydate(start);
        laydate(end);
    </script>

    <script>
        $(function () {
            $('.full-height-scroll').slimScroll({
                height: '100%'
            });
        });
    </script>

    <!-- Chosen -->
    <script src="js/plugins/chosen/chosen.jquery.js"></script>
    <script>
        var config = {
            ".chosen-select": {},
            ".chosen-select-deselect": {
                allow_single_deselect: true
            },
            ".chosen-select-no-single": {
                disable_search_threshold: 10
            },
            ".chosen-select-no-results": {
                no_results_text: "Oops, nothing found!"
            },
            ".chosen-select-width": {
                width: "95%"
            }
        };
        for (var selector in config) {
            $(selector).chosen(config[selector])
        }

    </script>
    <!-- Sweet alert -->
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script>
        //-- 保存小弹框--
        $('.demo2').click(function () {
            swal({
                title: "保存成功！",
                type: "success"
            });
        });
        //-- 删除弹框--
        $('.demo4').click(function () {
            swal({
                title: "您确定要删除这条信息吗",
                text: "删除后将无法恢复，请谨慎操作！",
                type: "warning",
                showCancelButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "删除",
                closeOnConfirm: false
            }, function () {
                swal("删除成功！", "您已经永久删除了这条信息。", "success");
            });
        });
    </script>
    <!--筛选条件显示切换-->
    <script>
        $("#screen-btn").click(function () {
            $("#screen-box").slideToggle("slow");
            $("#screen-btn .fa-chevron-up").toggle("slow");
            $("#screen-btn .fa-chevron-down").toggle("slow");

        })
    </script>
</body>
</html>
